home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource for Source: C/C++
/
Resource for Source - C-C++.iso
/
codelib8
/
v_10_04
/
1004092a
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1995-11-01
|
216 b
|
19 lines
#include <stdio.h>
enum node_type {Error, Char, Int, Double, String};
typedef struct {
enum node_type type;
union {
char c;
int i;
double d;
char *s;
} value;
} node;
void push(node);
node pop(void);